/**
 * Copyright (C)  2011  chen wei hua.
 * Permission is granted to copy, distribute and/or modify this document
 * under the terms of the GNU Free Documentation License, Version 2.0
 * or any later version published by the Free Software Foundation;
 * with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
 * A copy of the license is included in the section entitled "GNU Free Documentation License".
 */
package com.javaeye.plan.service;

import java.util.List;

import com.javaeye.delivery.dto.OrderCheck;
import com.javaeye.delivery.dto.OrderDetailBatchInfo;
import com.javaeye.plan.dto.MaterialRequisiteForm;

public interface IBackMaterialRequisiteFormService {
	/**
	 * 
	 * @param qualifiedBackForm
	 * @param unqualifiedBackForm
	 */
	public void saveBackMaterialRequisiteForm(MaterialRequisiteForm qualifiedBackForm, 
			MaterialRequisiteForm unqualifiedBackForm);
	
	/**
	 * 
	 * @param checkResult
	 */
	public void saveBackMaterialRequisiteCheckResult(OrderCheck checkResult);
	
	/**
	 * 
	 * @param form
	 */
	public void saveBackMaterialRequisiteForm(MaterialRequisiteForm form);
	
	/**
	 * 
	 * @param formId
	 * @param batchInfos
	 */
	public void materialRequisiteFormInStore(String formId, List<OrderDetailBatchInfo> batchInfos);
	
	/**
	 * 删除退料单
	 * @param formId
	 */
	public void removeBackMaterialRequisiteForm(String formId);
}